//
//  HomeTableViewController.swift
//  weibo
//
//  Created by 张清美 on 16/3/2.
//  Copyright © 2016年 张清美. All rights reserved.
//

import UIKit

class HomeTableViewController: ZqmTableViewController {

    override func viewDidLoad() {
        
        super.viewDidLoad()


        
        setUpUI()
//home 首页
     }
    
    private func setUpUI(){
    
   
    navigationItem.leftBarButtonItem = UIBarButtonItem(imageName: "navigationbar_friendsearch", title: nil, target: self, action: nil)
        
        
    navigationItem.rightBarButtonItem = UIBarButtonItem(imageName: "navigationbar_pop", title: nil, target: self, action: "Push")
        



    
    
    
    
    
    
    }
    
    
    func Push(){
    
    
        //右侧按钮的点击事件
        let Vc = tempViewController()
        
        
    self.navigationController?.pushViewController(Vc, animated: true)
    
    
    }
    
    
    
    
    
    
    
    
    
}